QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = QtDicomViewer
TEMPLATE = app


SOURCES += main.cpp \
    sources/image_viewer.cpp \
    sources/qt_dicom_viewer.cpp 

HEADERS += sources/qt_dicom_viewer.h \
    sources/image_viewer.h 

FORMS += QtDicomViewer.ui

INCLUDEPATH += sources \
               sources/widgets/algorithms \
               sources/widgets \
	       ../gdcm-dist/include/gdcm-3.0 \
	       ../opencv3.4.8/include

OPENCV_LIBS_PATH = ../opencv3.4.8/lib

LIBS += -L$$OPENCV_LIBS_PATH \
                -lopencv_world
# GDCM libs
GDCM_LIBS_PATH = ../gdcm-dist/lib

    LIBS += -L$$GDCM_LIBS_PATH \
            -lgdcmcharls \
            -lgdcmCommon \
            -lgdcmDICT \
            -lgdcmDSED \
            -lgdcmexpat \
            -lgdcmIOD \
            -lgdcmjpeg12 \
            -lgdcmjpeg8 \
            -lgdcmjpeg16 \
            -lgdcmMEXD \
            -lgdcmMSFF \
            -lgdcmopenjp2 \
            -lgdcmzlib \
            -lgdcmuuid \
            -lsocketxx 
